#ifndef __Image_H__
#define __Image_H__
#include "../GuiEvent.h"

struct control_image
{
	struct common_control_property p;
	VMSTR img_name;
	VMUINT8 *img;
};

extern VMINT CreateImage(VMSTR img_name, VMINT is_actived, VMINT x, VMINT y, VMINT width, VMINT height);
extern void ShowImage(VMINT hctrl);
extern void RefreshImage(VMINT hctrl);
extern void FreeImage(VMINT hctrl);
extern void RegisterCurFocusedImage(VMINT hctrl);
extern void ChangeImage(VMINT hctrl, VMSTR img_name);
extern void ChangeRefreshImage(VMINT hctrl, VMSTR img_name);

#endif
